<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@page session ="true" %>
<%
String _user_id=(String)session.getAttribute("_user_id");
String _type=(String)session.getAttribute("_type");
session.setAttribute("_user_id", _user_id);
session.setAttribute("_type",_type);
if(_user_id==null || _user_id.length()==0 || _type==null || _type.length()==0){
	response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY);
	String newLocn = "logout.jsp";
	response.setHeader("Location",newLocn);
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Student Place</title>
</head>
<body>
<div><a href="logout.jsp">Logout</a></div>
<div><a href="Show/showcounts.jsp">Show Counts</a></div>
</body>
</html>